package com.ztc.ZtcOrderTicket.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;

import java.math.BigDecimal;

@Entity
@Table(name = "ztc_order_ticket")
public class ZtcOrderTicket implements BaseEntity{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;//

    private String passengerName;//ä¹˜å®¢å��ç§°

    private java.util.Date passengerBirthday;//ä¹˜å®¢å‡ºç”Ÿæ—¥æœŸ

    private java.lang.Integer passengerType;//ä¹˜å®¢ç±»åž‹ï¼š0.æˆ�äººï¼Œ1.å„¿ç«¥

    private String passengerCardNumber;//æˆ�äººèº«ä»½è¯†åˆ«å�¡ç±»åž‹ï¼š0.èº«ä»½è¯�ï¼Œ,1.æŠ¤ç…§

    private java.lang.Integer passengerCardType;//æˆ�äººèº«ä»½è¯†åˆ«å�¡å�·ç �

    private java.lang.Integer seatNumber;//åº§ä½�å�·

    private BigDecimal price;//ä»·æ ¼

    private java.lang.Integer seatType;//åº§ä½�ç±»åž‹ï¼š0.æˆ�äººæ™®é€šï¼Œ1.æˆ�äººç‰¹ä»·ï¼Œ2.å„¿ç«¥å…�ç¥¨
    
    private java.lang.Integer status;//åº§ä½�ç±»åž‹ï¼š0.æˆ�äººæ™®é€šï¼Œ1.æˆ�äººç‰¹ä»·ï¼Œ2.å„¿ç«¥å…�ç¥¨

    private String fkOrderId;//æ‰€å±žè®¢å�•id

    public void setId(String value){
        this.id = value;
    }
    public void setPassengerName(String value){
        this.passengerName = value;
    }
    public void setPassengerBirthday(java.util.Date value){
        this.passengerBirthday = value;
    }
    public void setPassengerType(java.lang.Integer value){
        this.passengerType = value;
    }
    public void setPassengerCardNumber(String value){
        this.passengerCardNumber = value;
    }
    public void setPassengerCardType(java.lang.Integer value){
        this.passengerCardType = value;
    }
    public void setSeatNumber(java.lang.Integer value){
        this.seatNumber = value;
    }
    public void setPrice(BigDecimal value){
        this.price = value;
    }
    public void setSeatType(java.lang.Integer value){
        this.seatType = value;
    }
    public void setStatus(java.lang.Integer value){
        this.status = value;
    }
    public void setFkOrderId(String value){
        this.fkOrderId = value;
    }
    
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="passenger_name",unique=false,nullable=true,insertable=true,updatable=true,length=16)
    public String getPassengerName(){
        return this.passengerName;
    }
    @Column(name ="passenger_birthday",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.util.Date getPassengerBirthday(){
        return this.passengerBirthday;
    }
    @Column(name ="passenger_type",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getPassengerType(){
        return this.passengerType;
    }
    @Column(name ="passenger_card_number",unique=false,nullable=true,insertable=true,updatable=true,length=20)
    public String getPassengerCardNumber(){
        return this.passengerCardNumber;
    }
    @Column(name ="passenger_card_type",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getPassengerCardType(){
        return this.passengerCardType;
    }
    @Column(name ="seat_number",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getSeatNumber(){
        return this.seatNumber;
    }
    @Column(name ="price",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public BigDecimal getPrice(){
        return this.price;
    }
    @Column(name ="seat_type",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getSeatType(){
        return this.seatType;
    }
    @Column(name ="status",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getStatus(){
        return this.status;
    }
    @Column(name ="fk_order_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkOrderId(){
        return this.fkOrderId;
    }
} 
